from django.shortcuts import render
from rest_framework.viewsets import ModelViewSet
from .models import Cart
from .serializer import CartSerializer
from common.MyPage import MyPageNumberPagination


class CartViewSet(ModelViewSet):
    queryset = Cart.objects.all()
    serializer_class = CartSerializer
    pagination_class = MyPageNumberPagination


